<?php
namespace Addons\Text;

use Addons\Processor;
use Addons\Text\Model\TextContent;

class SubProcessor extends Processor {

    public function handler($rd = '') {
        if($rd){
            $data = (new TextContent())->getFieldByRid($rd,'content');
            $this->msgObj->text($data);
        }
    }
}